package com.yonyou.ucf.mdf.app.isvdxq.other.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "dxqyy_productspec")
public class ProductSpecEntity extends BaseEntity {

    private long id;

    private String code;

    @YMSColumn(name = "lsSpecItems_id")
    private long lsSpecItems_id;

    private long productId;

    private long iSpecId;

    private String specValue;

    private Boolean haveImg;

    @YMSColumn(name = "iSpecId_showItem")
    private String iSpecId_showItem;

    private int iOrder;

    private String productTemplate;

    @YMSColumn(name = "ytenant_id")
    private String tenant_id;

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public long getLsSpecItems_id() {
        return lsSpecItems_id;
    }

    public void setLsSpecItems_id(long lsSpecItems_id) {
        this.lsSpecItems_id = lsSpecItems_id;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public long getiSpecId() {
        return iSpecId;
    }

    public void setiSpecId(long iSpecId) {
        this.iSpecId = iSpecId;
    }

    public String getSpecValue() {
        return specValue;
    }

    public void setSpecValue(String specValue) {
        this.specValue = specValue;
    }

    public Boolean getHaveImg() {
        return haveImg;
    }

    public void setHaveImg(Boolean haveImg) {
        this.haveImg = haveImg;
    }

    public String getiSpecId_showItem() {
        return iSpecId_showItem;
    }

    public void setiSpecId_showItem(String iSpecId_showItem) {
        this.iSpecId_showItem = iSpecId_showItem;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getiOrder() {
        return iOrder;
    }

    public void setiOrder(int iOrder) {
        this.iOrder = iOrder;
    }

    public String getProductTemplate() {
        return productTemplate;
    }

    public void setProductTemplate(String productTemplate) {
        this.productTemplate = productTemplate;
    }
}
